package tack12;

/**
 * 农民
 */
public class Farmer extends Human implements Treat ,Attack{
    public Farmer(String name,double level){
        super(name,level);
    }
    public void mine(){
        System.out.println("我可以采矿");
    }

    @Override
    public void treat() {
        System.out.println("还可以治疗");
    }

    @Override
    public void attack() {
        System.out.println("我可以攻击");
    }
}
